-- GENERATED SPELL FOR [Thistlefur Ursa] --


function spell0_3921(pUnit, Event) --@Battle Stance,Self--
pUnit:FullCastSpellOnTarget(7165,pUnit)
pUnit:RegisterEvent('Sorts_3921', 603, 1)
end

function spell1_3921(pUnit, Event) --@Heroic Strike,n/a--
pUnit:FullCastSpellOnTarget(25712,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3921', 591, 1)
end

function Sorts_3921(pUnit, Event)
local choix_sorts_3921 = math.random(0, 1)
if choix_sorts_3921 == 0 then
pUnit:RegisterEvent('spell0_3921', 1, 1)
end
if choix_sorts_3921 == 1 then
pUnit:RegisterEvent('spell1_3921', 1, 1)
end
end

function mob3921_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3921', math.random(1500, 3000), 1)
end

function mob3921_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3921_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3921_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3921, 1, 'mob3921_Action')
RegisterUnitEvent(3921, 2, 'mob3921_Leave')
RegisterUnitEvent(3921, 3, 'mob3921_Kill')
RegisterUnitEvent(3921, 4, 'mob3921_Die')
